<?php
/**
 * 这是 Typecho 0.9 系统的一套默认皮肤
 *
 * @package Typecho EsMble Theme
 * @author Typecho Jamie793
 * @version 1.0
 * @link https://blog.jamiexu.cn
 */

if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
//var_dump(getsss());
?>

<div class="col-mb-12 col-8" id="main" role="main">
    <div class="content">
        <div class="content-article">
            <ul id="article">
                <?php while ($this->next()): ?>

                    <li class="card-content">
                        <dl>
                            <dd>
                                <div class="card-content-bg">

                                    <div class="card-content-info">
                                        作者：<?php $this->author(); ?></br>
                                        分类：<?php $this->category(',', true, 'none'); ?></br>
                                        标签：<?php $this->tags(',', true, 'none'); ?></br>
                                        时间：<?php $this->date('Y-m-d H:i'); ?>
                                    </div>
                                    <div class="card-content-bar">
                                        <div class="card-content-bar-title">
                                            <?php $this->title() ?>
                                        </div>
                                    </div>
                                </div>
                            </dd>
                            <dd class="card-content-content"><span><?php $this->excerpt(220, ' ...'); ?></span>
                            </dd>
                            <dd class="card-content-option">
                                <div style="color: #B2B2B2;border-top: 2px solid #eee;width: 100%">
                                    <ul class="card-content-option-left"
                                        style="float: left;width: 50%;height: 53px;line-height: 53px">
                                        <a href="<?php $this->permalink(); ?>#comment-1"><?php $this->commentsNum(); ?>条评论</a>
                                    </ul>
                                    <ul class="card-content-option-right"
                                        style="float: left;width: 49%;border-left: 2px solid #eee;height: 53px;line-height: 53px">
                                        <a href="<?php $this->permalink() ?>">阅读全文</a>
                                    </ul>
                                </div>
                            </dd>
                        </dl>
                    </li>

                <?php endwhile; ?>

            </ul>
        </div>
<!--        --><?php //$this->pageNav(); ?>
        <div id="more_content" ><?php $this->pageLink('下一页', 'next'); ?></div>
    </div><!-- end #main-->

<!--    --><?php //$this->need('sidebar.php'); ?>
    <?php $this->need('footer.php'); ?>
